<?php
/*
Template Name Posts: Diesel diagnostic
*/
?>		


		<?php get_header(); ?>
		   
		   <div id="container">
		   
		       <?php get_sidebar();?>
		       <div id="content_news">
			       <p id ="news">Новости</p>
				   
				   <?php if (have_posts()):?>
				   <?php while (have_posts()): the_post();?>
				   
			      <div class="post">
				     
					 <div class="p_entry">
					      <?php the_post_thumbnail(); ?>
						  <div class="p_head">
					           <h1><?php the_title(); ?></h1>
					      </div><!--end p_head-->
						  <p><?php the_content(); ?>
						  </p>
						 
						  <div class="meta_bottom">
						     <span class="date"><?php the_time('j F Y'); ?></span>
						 </div><!--end meta_bottom-->
						  
					 </div><!--end p_entry-->
					 
				  </div><!--end post-->
				  
				  <?php endwhile; ?>
				  
				   <div class="nav_posts">
				     <?php previous_post_link(); ?>
					 <?php next_post_link(); ?>
				   </div><!--end nav_posts-->
				  
				  
				  <?php endif; ?>
				  
				  
				  
			   </div><!--end content_news-->
			   
		   </div><!--end container-->
		   
		   <div class="clear"></div>
		   
		   <?php get_footer(); ?>